package com.wei.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wei.blog.common.dto.BlogPage;
import com.wei.entity.CommentEntity;
import com.wei.vo.CommentVo;

public interface CommentService extends IService<CommentEntity> {
    //查询评论表的数据包括
    BlogPage<CommentVo> getCommentListByTid(BlogPage<CommentVo> page,Integer id);

    //查询评论的数量
    Long getCommentCountByTopicId(Integer type,Integer id);
}
